From: Florian Müllner Date: Sat, 29 Oct 2011 14:41:51 +0000 (+0200) Subject: st-texture-cache: Fix colored symbolic icons X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7354 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1760ba1279d6fbd62f72d075f062c9269c049afd;p=gnome-shell.git st-texture-cache: Fix colored symbolic icons Commit b7bf712b977 broke colored symbolic icons by never including the requested colors in the texture load request. https://bugzilla.gnome.org/show_bug.cgi?id=662998 --- diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index 2333cffe3..377f3b9d5 100644 --- a/src/st/st-texture-cache.c +++ b/src/st/st-texture-cache.c @@ -1103,6 +1103,7 @@ load_gicon_with_colors (StTextureCache *cache, request->key = key; request->policy = policy; request->icon = g_object_ref (icon); + request->colors = colors ? st_icon_colors_ref (colors) : NULL; request->icon_info = info; request->width = request->height = size; request->enforced_square = TRUE;